﻿#region Using directives

using System;
using System.Collections.Generic;
using System.Text;

using Weazel.Toad.Application.Items;

#endregion

namespace Weazel.Toad.Application.Actions
{
  public class OpenVhdlFileAction : ActionBase
  {
    public OpenVhdlFileAction()
    {
  
    }

    public override void Execute(object sender, EventArgs e)
    {
      VhdlTextFile vhdlTextFile = new VhdlTextFile();

      if (vhdlTextFile.Open())
      {
        Application.Instance.AddOpenItem(vhdlTextFile);

      }
    }
  }
}
